<html>
	<head>
		<title>Identification - Custom database search</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet" type="text/css" href="/net/sf/mzmine/desktop/impl/helpsystem/HelpStyles.css">
    </head>

<body>

<h1>Custom database search</h1>

<h2>Description</h2>

<p>
This method assigns identity to peaks according to their m/z and retention time values. 
The user provides a database of m/z values and retention times in CSV format (see below).  
</p>

<h4>Method parameters</h4>
<dl>
<dt>Database file</dt>
<dd>Name of file that contains information for peak identification</dd>

<dt>Field separator</dt>
<dd>Character(s) used to separate fields in the database file</dd>

<dt>Field order</dt>
<dd>Order of items in which they are read from database file. Order may be changed by dragging the items with mouse.</dd>

<dt>Ignore first line</dt>
<dd>Check to ignore the first line of database file</dd>

<dt>m/z tolerance</dt>
<dd>Maximum allowed m/z difference to set an identification to a peak</dd>

<dt>RT tolerance</dt>
<dd>Maximum allowed retention time difference to set an identification to a peak</dd>

</dl>

<h2>Database file</h2>

<p>
Database file has to be provided in CSV format (Comma-Separated Values). Such files can be exported from a spreadsheet software such as MS Excel, or edited manually using a text editor.
The following examples shows the structure of the database file:
</p>

<pre>
ID,m/z,Retention time (min),Identity,Formula
1,175.121,24.5,Arginine,C6H14N4O2
2,133.063,11.9,Asparagine,C4H8N2O3
3,134.047,11.7,Aspartate,C4H7NO4
</pre>

<p>
If the m/z value or Retention time value in the CSV file is 0, then the value is considered as a wild card.
E.g, the following item will match all peaks of 174.121 m/z without considering the retention time:
</p>

<pre>
1,175.121,0,Arginine,C6H14N4O2
</pre>

<p>
Setup dialog for the identification using the above example database file:<br>
<img src="searchDialog.png">
</p>

</body>
</html>
